package znzz.db.util;

import znzz.core.service.ISyncService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 主子表关联字段类
 * <p/>
 * Created by wangjwm on 2017/7/10.
 */
public class TableAndAttrUtil {

    // 表名映射<表名, 字表字段名>
    private Map<String, List<String>> table2Sub = new HashMap<String, List<String>>();

    // 表与对应处理service映射
    private Map<String, ISyncService> iSyncServiceMap = new HashMap<String, ISyncService>();

    public Map<String, List<String>> getTable2Sub() {
        return table2Sub;
    }

    public void setTable2Sub(Map<String, List<String>> table2Sub) {
        this.table2Sub = table2Sub;
    }

    public Map<String, ISyncService> getiSyncServiceMap() {
        return iSyncServiceMap;
    }

    public void setiSyncServiceMap(Map<String, ISyncService> iSyncServiceMap) {
        this.iSyncServiceMap = iSyncServiceMap;
    }

}
